__label__YES "add parameter com_prearm_lock to lock actuators when prearmed"
__label__YES "this parameter is meant to prevent any actuator motion when prearmed."
__label__YES ">when the system is prearmed (i.e."
__label__YES "the safety button is pressed, or the safety button is disabled with cbrk_io_safety), non-throttle outputs are active."
__label__NO "this is visible on platforms where servomotors control flight, like the flaps on a fixed wing or the yaw servo on a tri-copter."
__label__NO "if actuator motion before arming is undesirable, set this parameter."
__label__NO ">fixes #"
__label__YES "copter: add option to keep motors running while armed."
__label__NO "subject says it all."
__label__YES "motors should be running at all time while armed, limited to a minimum speed, not stop if throttle stick is down in stabilize mode."
__label__NO ">more detailed reason here:"
__label__YES "copter: do not enter auto mode if no mission defined or exit immediately to loiter or land"
__label__YES "with no mission defined, arducopter still allows the copter to switch to auto mode but it does not set any of the roll, pitch, yaw or throttle modes so essentially the copter is left in it's previous state so it will appear in the logs that it's in auto mode but actually it's in stabilize, or loiter or whatever mode the copter was in before it was switched to auto."
__label__YES ">we should change it so that it either it refuses to go into auto (i.e."
__label__YES "flight mode remains at it's previous value) or the mission exits immediately and switches to either loiter or land."
__label__YES "plane: unintended/unexplaned start up on loss or no reciever input"
__label__NO "starting up apm with the pwm's grounded(receiver not bound), results in a motor start after sec."
__label__YES "copter: log in the dataflash when sensors go bad"
__label__NO "currently we send the sensor health to the gcs via the mavlink system status message but we don't write this to the dataflash."
__label__NO "we would likely need to extend the ap"" structure to include health bits for each sensor."""
__label__NO "we should consider whether we want to store the health of each sensor individually or not."
__label__NO "microsd full, stop writing logs."
__label__NO "after about logs my microsd gb is full (k free), and pixhawk has stopped writing any log, don't delete the old ones."
__label__YES "copter: add loiter to throttle failsafe options"
__label__YES "when failsafe is activated, rtl/land may not always be a viable option."
__label__NO "such as urban/parkfly situation."
__label__NO "it would be reasonable to add loiter in failsafe."
__label__YES "so that in certain condition they will not cause hassle to environment"
__label__YES "plane: improved failsafe handling during auto-landings"
__label__YES "#### issue details if an aircraft is performing an automatic landing (after a do_land_start) and encounters a failsafe with an action of land, it will restart the landing sequence from the beginning."
__label__YES "if - for example - an aircraft encounters a critical battery failsafe on final approach, the resulting aborted landing and go-around can be especially taxing on the already-low battery."
__label__YES "suggest that failsafe behavior be updated such that if the aircraft is already performing a landing sequence and encounters a failsafe with land action (or perhaps also rtl with rtl_autoland ) that it simply continue the approach rather than revert to do_land_start."
__label__NO ">#### version ap.."
__label__NO ">#### platform [ ] all [ ] antennatracker [ ] copter [x] plane [ ] rover [ ] submarine"
__label__NO ">#### airframe type fixed-wing airplane"
__label__NO ">#### hardware type cube black"
__label__NO ">#### logs can share some log excerpts upon request."
__label__YES "copter ..-rc allows arming with motor interlock enabled"
__label__YES "#### issue details it has been discovered that copter-..-rc allows arming of tradheli with motor interlock enabled."
__label__NO "this is considered to be a serious safety issue for helicopters."
__label__NO ">#### version copter-..-rc"
__label__NO ">#### platform [ ] all [ ] antennatracker [x] copter [ ] plane [ ] rover [ ] submarine"
__label__NO ">#### airframe type tradheli"
__label__NO ">#### hardware type demonstrated in pixhawk and in sitl"
__label__YES "safety-related motors spin when connecting battery"
__label__NO "- seen in version (release version or githash): fcc - on flight controller (if applicable): dtfc"
__label__YES ">issue details: while plugging in the battery on a few occasions the back motors spun."
__label__NO "@mlyle suggested testing the ""reboot"" button in the gcs with the battery connected to see if they spin."
__label__YES "i tried this times, and all times at least one motor spun up, like it was armed then disarmed immediately."
__label__NO "add param com_prearm_mode"
__label__NO "replacement of #"
__label__YES ">- add param com_prearm_mode condition to enter the prearmed state, an intermediate state between disarmed and armed in which non-throttling actuators are active."
__label__NO "value disabled value safety button value always"
__label__YES ">- io: respect actuator_armed.prearmed flag arm non-throttling actuators on io only when the prearmed flag is set."
__label__NO "(same behaviour as fmu)."
__label__NO ">fixes # #"
__label__YES "avoidance and safe landing: 'tf buffer: could not retrieve requested transform from buffer, unregistered'"
__label__NO "uorb: fix several race conditions during topic initialization"
__label__NO "possible race conditions (they all happen between the check of existence of a topic and trying to create the node): - single instance, with multiple advertisers during the first advertise: both advertisers see the topic as non-existent and try to advertise it."
__label__NO "one of them will fail, leading to an error message."
__label__YES "this is the cause for `telemetry_status` advert failure seen in sitl in rare cases."
__label__NO "- multi-instance: subscription to non-existing instance -> px_open fails, and the subscriber tries to create the node."
__label__NO "if during that time a publisher publishes that instance, the subscriber will get (instance+) (or fails if the max number of instances is exceeded)."
__label__NO "this is a race that goes pretty much unnoticed."
__label__NO "- multi-instance: publishers can get the same instance (if is_published() is false in case both have not published data yet)."
__label__NO "this can also go unnoticed."
__label__NO "- single-instance advertisers, and they both open a node exclusively during advertisement, and one of them will fail to open the node with -ebusy."
__label__NO ">this pr fixes all of them, and there should be no noticeable changes for the rest of the system."
__label__NO ">there's a semantic change for the flag `_published` to `_advertised`."
__label__NO "this does not change anything for the system, since a topic was required to do a publication when advertised."
__label__NO "the change is however required to avoid race conditions."
__label__NO "it also allows to do an advertisement w/o data publication, avoiding the need for garbage/zeroed data publication on startup at many places."
__label__NO ">see individual commits as well."
__label__YES "don't allow arming during a transition"
__label__YES "we recently had a problem with our vtol vehicle that on arming the throttle was set to % immediately."
__label__YES "on log analysis this was found to be due to the pilot switching from fw to mc just before arming, this meant the vehicle was still in a back transition state and set to mc power as such."
__label__NO "example of this;"
__label__YES ">to solve this i have added an extra check before arming that ensures if the vehicle is currently in a transition state arming will be rejected."
__label__NO ">this was tested on a bench vtol."
__label__YES "i tried arming when not in a transition state and when in a transition state to ensure it was rejecting the arming at the correct times."
__label__NO log;
__label__NO "navio_sysfs_rc_in: only publish input_rc if connected and all channels are non-zero"
__label__YES "flight termination: lockdown if failure is detected on takeoff"
__label__YES "during the first few seconds after takeoff, the failure detector is allowed to trigger motor lockdown."
__label__YES "this is done for safety reasons to detect tipping-over or unstable tuning gains."
__label__YES ">sitl test: takeoff with unstable gains"
__label__NO ">fyi @jaeyoung-lim"
__label__YES "gps lost in position control (or rtl) lands without pilot having control"
__label__YES "**describe the bug** when gps is lost while flying in posctl i expect the vehicle to go into altctl so that the pilot can still bring the vehicle safely back."
__label__YES "however, what happens instead is that a blind land is initiated, even though the mode displayed in qgc is altctl."
__label__NO ">the same can be reproduced in rtl."
__label__NO "switching to manual control does still work but chances are a user will not try that in time!"
__label__NO ">**to reproduce** steps to reproduce the behavior: ."
__label__NO "use: ."
__label__NO "`make px_sitl jmavsim` ."
__label__NO "takeoff and fly in posctl (e.g. using joystick in qgc)."
__label__NO .
__label__NO "enable failure injection: `param set sys_failure_en ` ."
__label__NO "trigger gps lost: `failure gps off`"
__label__NO ">**log files and screenshots**"
__label__NO >
__label__YES "stuck baro can lead to flyaway"
__label__NO "**describe the bug** as part of the failsafe testing in # i tried out what happens when the baro value is stuck, so the identical value keeps getting published."
__label__YES "i could see that this could happen when something physically blocks the baro."
__label__YES ">what seems to happen in this case is that altitude is controlled against stale baro data which can lead to a flyaway."
__label__YES "commander: use arm_disarm() helper for safety button disarm"
__label__YES "this adds some logging so you know if the safety button was the reason for disarm."
__label__YES "multicopter land detector ground contact fixes"
__label__NO "opening this for discussion/testing of possible fixes for"
__label__NO >
__label__NO "flight: disable stack checking on targets that were missed"
__label__NO "not sure why flyingf was missed; brain was missed because it was not-yet-in-tree."
__label__YES "clarify arming configuration"
__label__NO "current texts are misleading for switch arming."
__label__NO "see taulabs/taulabs#"
__label__YES "clarify arming configuration, warn when throttle not checked"
__label__YES "add +throttle to all options which check throttle position."
__label__YES "add a warning in gcs when an option which doesn't check throttle is selected."
__label__YES "change arming combobox label so it no longer states that all configurations check throttle position."
__label__NO ">fixes #."
__label__NO ">![screenshot from -- ]("
__label__NO >
__label__NO >[](
__label__NO >
__label__NO "sparky reboots on inputs setup"
__label__NO "using recent builds of next i'm getting reboots on my sparky board when setting up inputs with a ppm rx."
__label__YES ">i've tried two different rx's (though admittedly both homemade flysky rx's so i'm not % sure there's not a hardware issue going on.) and tried powering the rx both through the sparky and directly off the bec."
__label__YES ">either way my board is rebooting near the end of the inputs wizard (between the center the sticks step to just after the confirm failsafe step) or if i try manual setup it's rebooting almost as soon as i try to change anything."
__label__YES "engines may arm at startup with invalid rc input settings"
__label__NO "as shown by this configuration file with invalid rc input settings"
__label__YES ">some invalid rc input configurations result in uncommanded arming at startup."
__label__NO "if autotune is also configured, autotuning may also begin automatically as soon as the battery is plugged in."
__label__NO "need minimum deadtime on syncpwm output"
__label__NO "re: issue #"
__label__NO ">my proposed fix is, around here:"
__label__NO "pios_servo/oneshot: ensure dead time."
__label__YES "now max pulse length is passed into pios_servo, and we make sure we're ""past"" that point by a defined margin before we'll disable the timer."
__label__NO ">pios_servo should get factored common in the future and non-hpwm variants of the code should get removed in that refactor."
__label__YES ">this depends on all channels in a oneshot bank being defined with the same ""max"" time to be fully protective."
__label__NO ">fixes #"
__label__NO >
__label__NO >[](
__label__NO >
__label__NO "gcs: safety: vehicle setup wizard + test outputs"
__label__YES "report from @dustin that he ran vehicle setup wizard while the test outputs box was left checked, and the motors spun up at the completion of the vehicle setup wizard."
__label__NO ">relates to #, but we'd be looking for a more minimal fix here, i think."
__label__YES "multirotor motors should spin when armed by default"
__label__NO "we suggest people do this."
__label__NO "we should make not doing so a conscious decision."
__label__YES "telemetry over radio safety issue"
__label__NO "i use oplinkmini with a bluetooth module to allow my surface tablet to communicate with sparky over mhz set at mw using bind wizard."
__label__YES "after connecting the tablet and arming the front of the quad came up when applying throttle but the rear stayed down, motors stayed at idle, when checking in gcs the compass was spinning constantly at a high rate and also the artificial horizon moving in all directions."
__label__YES "the control radio had lost all settings and the motors were at - were they should have been on one-shot."
__label__YES "disconnected everything, plugged usb in and all looked at it should be in gcs, took off and flew an autotune."
__label__NO "checked at home with radio again and would not regconise board but some of the settings were readable."
__label__NO "loaded taulabs and everything works as it should using the above method."
__label__YES "flew an autotune and gcs telemetry working fine."
__label__YES "i use the gcs at the field to make changes to autonmous flight modes."
__label__YES "s.bus control safety anomaly: throttle up, unresponsive to disarm switch"
__label__YES "i experienced a very concerning safety event yesterday at the field where i had my goggles on, armed, applied some throttle and immediately lost control of the rc, though the osd did not indicate failsafe (by moving into st)."
__label__YES ">i heard throttle starting to increase, flipped my disarm switch, the machine did not respond, throttle continued to increase."
__label__NO "i kicked the quad off the ammo can i was launching from, held it upside down with my shoe and ripped the xt plug out."
__label__NO ">i'm pulling the dvr footage."
__label__NO "we could potentially audit s.bus failsafe path / s.bus frame receipt code paths as well."
__label__YES "flight - msp bridge stack space overflows causing reset."
__label__YES "during bench testing of latest next plus #, resets were observed when both gps and msp modules were enabled."
__label__YES "cause of reset traced to insufficient msp bridge stack space, likely due to new comp gps calculations."
__label__NO "with msp bridge stack size increased to bytes, reset no longer observed, and free stack space of ~ bytes indicated."
__label__NO >
__label__NO >[](
__label__NO >
__label__NO "gcs: do not automatically apply uav settings with import"
__label__NO "this will import all settings to a temporary object, but nothing will be modified in the fc without user intervention."
__label__NO "the apply button will make settings temporarily active (apply to ram), while the save button will save settings to the persistent memory (flash)"
__label__NO ">fixes #"
__label__NO >
__label__NO >[](
__label__NO >
__label__YES "motors continue to run after ""motor test"" unchecked"
__label__NO "on release-: -e gcs, with a brain, setup for x-quad, oneshot, ppm input, when using the ""test outputs"" select box on the output tab, i am able to use the sliders to test the motors."
__label__YES "if, however, i ""uncheck"" the test outputs, the motors continue to run."
__label__YES "switch arming is completely broken in multiple ways"
__label__NO "in renatus originally, but probably won't stay here."
__label__YES ">things to think about: - failsafe and what happens to armed state (especially in conjunction with +delay modes) - funny interaction with low throttle timeout-- especially in conjunction with +delay modes) - funniness of armed_still_holding state - edge vs."
__label__NO "level triggered behavior - manualcontrol's enclosing state machine"
__label__YES "report: hangtime stays engaged in failsafe"
__label__YES "the hangtime is correct for low throttle while valid signal but failsafe kicks in lps for ~ seconds when hangtime is set to seconds."
__label__NO "this may be expected behavior just not what i was expecting :)"
__label__YES "manualcontrol: prevent spurious disarms in altitude hold mode"
__label__YES "altitude hold mode is an ""autonomous flight mode"" for the purpose of the test in transmitter_control."
__label__NO "that is, low throttle values for extended times can be legal."
__label__YES "if the ""don't disarm on low throttle when autonomous"" is set, don't disarm under these circumstances in altitude hold mode."
__label__YES "else, in a prolonged descent, copter may drop out of the sky."
